public class Jugar {
	public static void main(String[] args) {
		
		Peon p1B = new Peon(2, "a","peon","B");
		Peon p2B = new Peon(2, "b","peon","B");
		Peon p3B = new Peon(2, "c","peon","B");
		Peon p4B = new Peon(2, "d","peon","B");
		Peon p5B = new Peon(2, "e","peon","B");
		Peon p6B = new Peon(2, "f","peon","B");
		Peon p7B = new Peon(2, "g","peon","B");
		Peon p8B = new Peon(2, "h","peon","B");
		
		Torre t1B = new Torre(1, "a", "torre", "B");
		Torre t2B = new Torre(1, "h", "torre", "B");
		
		Caballo cab1B = new Caballo(1, "b", "cab", "B");
		Caballo cab2B = new Caballo(1, "g", "cab", "B");
		
		Alfil al1B = new Alfil(1, "c", "alfil", "B");
		Alfil al2B = new Alfil(1, "f", "alfil", "B");
		
		Rey reyB = new Rey(1, "e", "rey", "B");
		Dama damaB = new Dama(1, "d", "dama", "B");
		
//################################################################################################
		
		Peon p1N = new Peon(7, "a", "peon", "N");
		Peon p2N = new Peon(7, "b", "peon", "N");
		Peon p3N = new Peon(7, "c", "peon", "N");
		Peon p4N = new Peon(7, "d", "peon", "N");
		Peon p5N = new Peon(7, "e", "peon", "N");
		Peon p6N = new Peon(7, "f", "peon", "N");
		Peon p7N = new Peon(7, "g", "peon", "N");
		Peon p8N = new Peon(7, "h", "peon", "N");
		
		Torre t1N = new Torre (8, "a", "torre", "N");
		Torre t2N = new Torre (8, "h", "torre", "N");
		
		Caballo cab1N = new Caballo(8, "b", "cab", "N");
		Caballo cab2N = new Caballo(8, "g", "cab", "N");
		
		Alfil al1N = new Alfil(8, "c", "alfil", "N");
		Alfil al2N = new Alfil(8, "f", "alfil", "N");
		
		Rey reyN = new Rey(8, "e", "rey", "N");
		Dama damaN = new Dama(8,"d","dama","N");
		
//#################################################################################################
		
		Tablero t = new Tablero();
		
		t.agregarPieza(p1B);
		t.agregarPieza(p2B);
		t.agregarPieza(p3B);
		t.agregarPieza(p4B);
		t.agregarPieza(p5B);
		t.agregarPieza(p6B);
		t.agregarPieza(p7B);
		t.agregarPieza(p8B);
		t.agregarPieza(t1B);
		t.agregarPieza(t2B);
		t.agregarPieza(cab1B);
		t.agregarPieza(cab2B);
		t.agregarPieza(al1B);
		t.agregarPieza(al2B);
		t.agregarPieza(reyB);
		t.agregarPieza(damaB);
		
//#################################################################################################
		
		t.agregarPieza(p1N);
		t.agregarPieza(p2N);
		t.agregarPieza(p3N);
		t.agregarPieza(p4N);
		t.agregarPieza(p5N);
		t.agregarPieza(p6N);
		t.agregarPieza(p7N);
		t.agregarPieza(p8N);
		t.agregarPieza(t1N);
		t.agregarPieza(t2N);
		t.agregarPieza(cab1N);
		t.agregarPieza(cab2N);
		t.agregarPieza(al1N);
		t.agregarPieza(al2N);
		t.agregarPieza(reyN);
		t.agregarPieza(damaN);
		
		t.imprimirMatriz();
		
//#################################################################################################
		
		cab1B.moverCaballo(t, cab1B, 3, "c");
		t.imprimirMatriz();
		
	}
}